import 'package:flutter_taotaoshipin/generated/json/base/json_field.dart';
import 'package:flutter_taotaoshipin/generated/json/order_create_entity.g.dart';
import 'dart:convert';

@JsonSerializable()
class OrderCreateEntity {

	@JSONField(name: "order_id")
	String? orderId;
	@JSONField(name: "pay_str")
	String? payStr;
	@JSONField(name: "pay_referer")
	String? payReferer;
  
  OrderCreateEntity();

  factory OrderCreateEntity.fromJson(Map<String, dynamic> json) => $OrderCreateEntityFromJson(json);

  Map<String, dynamic> toJson() => $OrderCreateEntityToJson(this);

  @override
  String toString() {
    return jsonEncode(this);
  }
}